﻿using CIS.Common.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CIS.Common.Entitys
{
    public class PPIDMappingEntity : BaseEntity
    {
        public PPIDMappingEntity()
        {
            Id = Guid.NewGuid();
            CreationTime = DateTime.Now;
        }

        public string? PPID { get; set; }

        public string? SourceId { get; set; }

        public string? RecipeId { get; set; }

        public bool BandingRouting { get; set; }

        public CCODE CommandCode { get; set; }

        public DateTime LastChangedTime { get; set; }

        public bool MixRunFlag { get; set; }

        public string? OperationName { get; set; }

        public string? BandingSubUnitNos { get; set; }

        public int RecipeType { get; set; }

        public int RecipeNo { get; set; }

        public string? RoutingPPID { get; set; }

        public ProcessProgramEntity Parent;
    }
}
